<?php
/**
 * Created by PhpStorm.
 * User: yiyu
 * Email: smalleasyu@gmail.com
 * Date: 2020-01-28 22:03:58
 * Desc:
 */

use think\Route;

Route::rule('/get_goods_list', 'api/GoodsController/getGoodsList'); // 获取兑换列表
Route::rule('/get_goods_info', 'api/GoodsController/getGoodsDetailInfo'); // 获取商品详情
Route::rule('/get_wish_info', 'api/GoodsController/getWishDetailInfo'); // 获取心愿详情
Route::rule('/can_support_wish_list', 'api/GoodsController/getCanSupportWishList'); // 心愿值不足时获取我可以支持的心愿

Route::rule('/mini/pre_initiate_wish', 'api/GoodsController/miniProgramPreInitiateWish'); // 小程序预发起心愿(获取商品详情和地址)
Route::rule('/mini/initiate_wish', 'api/GoodsController/miniProgramInitiateWish'); // 小程序发起心愿
Route::rule('/mini/cancel_wish', 'api/GoodsController/miniProgramCancelWish'); // 小程序取消心愿

Route::rule('/mini/support_wish_before/get_windows_info', 'api/GoodsController/getSupportWishBeforePopWindowsInfo'); // 小程序获取支持前弹窗信息
Route::rule('/mini/support_wish', 'api/GoodsController/miniProgramSupportWish'); // 小程序确认支持
Route::rule('/mini/support_wish_after/get_windows_info', 'api/GoodsController/getSupportWishSuccessPopWindowsInfo'); // 小程序获取支持成功后弹窗信息

Route::rule('/my_initiate_wish_list', 'api/GoodsController/getMyInitiateWishList'); // 获取我发起的心愿列表
Route::rule('/my_support_wish_list', 'api/GoodsController/getMySupportWishList'); // 获取我支持过的心愿列表
Route::rule('/get_share_wish_info', 'api/GoodsController/getWishShareInfo'); // 分享心愿获取分享信息

Route::rule('/get_bill_list', 'api/GoodsController/getMyBillList'); // 获取我的心愿币流水列表

Route::rule('/get_wish_detail_welfare_pop', 'api/GoodsController/getWishDetailWelfarePopUpsData'); // 获取心愿详情福利弹窗